<?php
namespace App\Libraries\Tools;


class ConstVar
{

    static $ORDER_TYPE_POST = 1;
    static $ORDER_TYPE_PRODUCT = 2;
    static $ORDER_TYPE_TRANSFER_TO_SHOP = 3;
    static $ORDER_TYPE_COUPON = 4;
    static $ORDER_TYPE_TRANSFER_TO_USER = 5;
    static $ORDER_TYPE_HONGBAO = 6;
    static $ORDER_TYPE_WITHDRAW = 7;
    static $ORDER_TYPE_REWARD = 8;

    static $ORDER_CHANNEL_ALIPAY = 1;
    static $ORDER_CHANNEL_WECHAT = 2;
    static $ORDER_CHANNEL_IOS = 3;
    static $ORDER_CHANNEL_BALANCE = 4;

    static $ORDER_STATUS_WAITING = 0;
    static $ORDER_STATUS_SUCCESS = 1;
    static $ORDER_STATUS_FAIL = 2;
    static $ORDER_STATUS_REFUNDED = 3;
    static $ORDER_STATUS_TEST = 4;
    static $ORDER_STATUS_EXPIRED = 5;
    static $ORDER_STATUS_REFUNDING = 6;
    static $ORDER_STATUS_CANCEL = 7;

    static $PURCHASE_TYPE_HONGBAO = 0;
    static $PURCHASE_TYPE_MONEY = 1;
    static $PURCHASE_TYPE_BALANCE = 2;

    static $PURCHASE_STATUS_UNUSED = 0;
    static $PURCHASE_STATUS_USED = 1;
    static $PURCHASE_STATUS_EXPIRED = 2;
    static $PURCHASE_STATUS_REFUNDING = 3;
    static $PURCHASE_STATUS_REFUNDED = 4;
    static $PURCHASE_STATUS_COMMENTED = 5;

    static $IM_MSG_COMMON = 0;
    static $IM_MSG_HONGBAO = 1;
    static $IM_MSG_VIP_EXPIRED = 2;
    static $IM_MSG_AUTH_CHANGE = 3;
    static $IM_MSG_AGENT_CHANGE = 4;

    static $PAYMENT_CLOSE_DELAY = 15;
    static $PAYMENT_REFUND_DELAY = 1;

    static $BOOKED_STATUS_WAITING = 0;
    static $BOOKED_STATUS_AGREE = 1;
    static $BOOKED_STATUS_REJECT = 2;
    static $BOOKED_STATUS_EXPIRED = 3;
    static $BOOKED_STATUS_CANCEL = 4;

    static $BALANCE_CHANNEL_ALIPAY = 1;
    static $BALANCE_CHANNEL_WECHAT = 2;
    static $BALANCE_CHANNEL_IOS = 3;
    static $BALANCE_CHANNEL_BALANCE = 4;
    static $BALANCE_CHANNEL_BANK = 5;

    static $BALANCE_STATUS_WAITING = 0;
    static $BALANCE_STATUS_SUCCESS = 1;
    static $BALANCE_STATUS_FAIL = 2;

    static $BALANCE_ORIGIN_POST = 1;
    static $BALANCE_ORIGIN_PRODUCT = 2;
    static $BALANCE_ORIGIN_TRANSFER_TO_SHOP = 3;
    static $BALANCE_ORIGIN_COUPON = 4;
    static $BALANCE_ORIGIN_TRANSFER_TO_USER = 5;
    static $BALANCE_ORIGIN_HONGBAO = 6;
    static $BALANCE_ORIGIN_WITHDRAW = 7;
    static $BALANCE_ORIGIN_REWARD = 8;

    static $BALANCE_TYPE_SYSTEM = 0;
    static $BALANCE_TYPE_USER = 1;
    static $BALANCE_TYPE_SHOP = 2;

    static $BALANCE_NOT_REFUND = 0;
    static $BALANCE_REFUND = 1;

    static $POST_INCOME_FLOW_AUTHOR = 1;
    static $POST_INCOME_FLOW_FROZEN = 2;
    static $POST_INCOME_FLOW_REFUND = 3;

    static $VIP_COMMISSION_S_PARENT = 98;
    static $VIP_COMMISSION_M_PARENT = 50;
    static $VIP_COMMISSION_L_PARENT = 100;

    static $VIP_COMMISSION_S_AGENT = 30;
    static $VIP_COMMISSION_M_AGENT = 80;
    static $VIP_COMMISSION_L_AGENT = 120;

    static $EASEMOB_MSG_TYPE_NORMAL = 0;
    static $EASEMOB_MSG_TYPE_HONGBAO = 1;
    static $EASEMOB_MSG_TYPE_VIP = 2;
    static $EASEMOB_MSG_TYPE_AUTH = 3;
    static $EASEMOB_MSG_TYPE_AGENT = 4;
    static $EASEMOB_MSG_TYPE_MANAGER = 5;

    static $MLM_BALANCE_LOG_TYPE_USER = 1;
    static $MLM_BALANCE_LOG_TYPE_AGENT = 2;
    static $MLM_BALANCE_LOG_TYPE_WITHDRAW = 3;

    static $HONGBAO_TYPE_POST = 1;
    static $HONGBAO_TYPE_CASH = 2;
    static $HONGBAO_TYPE_POINT = 3;

    static $POINT_REASON_SYSTEM = 0;
    static $POINT_REASON_CONSUMPTION = 1;
    static $POINT_REASON_POST = 2;
    static $POINT_REASON_COMMENT = 3;
    static $POINT_REASON_COMMENTED = 4;
    static $POINT_REASON_OTHER = 99;

    static $POINT_STATUS_WAITING = 0;
    static $POINT_STATUS_AGREE = 1;
    static $POINT_STATUS_REJECT = 2;
    static $POINT_STATUS_SUCCESS = 3;
    static $POINT_STATUS_FAIL = 4;
    static $POINT_STATUS_CANCEL = 5;
}